#include "searcher.hpp"

const std::string input="data/raw_html/raw.txt";

int main()
{
    //for test
    ns_searcher::Searcher seach=ns_searcher::Searcher();
    seach.InitSearcher(input);

    std::string query;
    std::string json_string;
    while(true)
    {
        std::cout<<"Please Enter your query# ";
        //std::cin>>query;
        std::getline(std::cin,query);
        seach.Search(query,json_string);
        std::cout<<json_string<<std::endl;
    }
}